typedef struct ToolTrayItem { struct ToolTrayItem *next; char name[30]; struct Tool *tool; short x,y; } ToolTrayItem; typedef struct ToolTray { struct ToolTray *next; char name[16]; ToolTrayItem *list; ToolTrayItem *selected; struct Window *window; } ToolTray;